#include"unordered_set.h"
#include"unordered_map.h"
//using namespace wzy;

int main()
{
	wzy2::set<int> s;
	s.Insert(1);
	s.Insert(2);
	s.Insert(3);
	s.Insert(4);
	s.Insert(5);
	s.Insert(6);
	s.Insert(7);
	s.Insert(11);
	s.Erase(11);
	//s.Print();
	wzy2::set<int>::iterator it = s.begin();
	for (auto ch : s)
	{
		cout << ch<< "  ";
	}
	//cout << endl;

	//wzy2::set<int>::iterator it2 = s.begin();
	//while (it2 != s.end())
	//{
	//	cout << *it2 << "  ";
	//	++it2;
	//}
	//cout << endl;

	//wzy2::set<string> s2;
	//s2.Insert("aaa");
	//s2.Insert("bbb");
	//s2.Print();
	//s2.Erase("aaa");
	//s2.Print();

	//wzy3::MyMap< int, int> s;
	//s.Insert(make_pair(1, 1));
	//s.Insert(make_pair(2, 1));
	//s.Insert(make_pair(3, 1));
	//s.Insert(make_pair(4, 1));
	//s.Insert(make_pair(5, 1));
	//s.Insert(make_pair(6, 1));
	//s.Insert(make_pair(7, 1));
	////s.Print();
	//s.Insert(make_pair(8, 1));
	////s.Print();
	//s.Erase(1);
	////s.Print();
	//for (auto ch : s)
	//{
	//	cout << ch.first<<":"<<ch.second << "  ";
	//}
	//cout << endl;


	//wzy3::MyMap<string, int>s2;
	//s2.Insert(make_pair("aaa", 1));
	//s2.Insert(make_pair("bbb", 1));
	//s2.Insert(make_pair("aac", 1));
	//s2.Print();
	//s2.Erase("aaa");
	//s2.Print();

	

	return 0;
}